package com.beidasoft.web.business.temp.impl;



import com.beidasoft.web.business.temp.TempQueryBussiness;
import com.beidasoft.web.service.caseCheck.TempManagerService;
import com.beidasoft.web.util.Log4jUtil;
import org.exolab.castor.core.exceptions.CastorException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;




/**
 *
 * Created by  on 2016/6/20.
 */
@Service("tempQueryBussiness")
public class TempQueryBussinessImpl implements TempQueryBussiness {


    @Autowired
    private TempManagerService tempManagerService;

    @Override
    public String tempSearch(String bean) throws Exception {
        String a;
        try {
         a = tempManagerService.tempSearch("dddd");
        }catch (Exception e){
            String exceptionInfo = "查询异常";
            Log4jUtil.CASEMANAGER_LOG.error(exceptionInfo, e);
            throw new CastorException(exceptionInfo, e);
        }

        return a;
    }
}